package org.csmz.xg2333;


import java.util.HashMap;

public class Example13 {
    public static void main(String[] args){
        HashMap<String,Integer> map = new HashMap<>();
        map.put("钢笔",99);
        map.put("毛笔",199);
        map.put("铅笔",15);
        map.put("钢笔",199);
        for (String key:map.keySet()){
            System.out.println(map.get(key
            ));
        }
    }
}
